import request from '@/utils/request'

// 查询过卡记录列表
export function listGkHdGather(query) {
  return request({
    url: '/billsdecl/GkHdGather/list',
    method: 'get',
    params: query
  })
}

// 查询过卡记录详细
export function getGkHdGather(id) {
  return request({
    url: '/billsdecl/GkHdGather/getInfo/' + id,
    method: 'get'
  })
}

// 新增过卡记录
export function addGkHdGather(data) {
  return request({
    url: '/billsdecl/GkHdGather/add',
    method: 'post',
    data: data
  })
}

// 修改过卡记录
export function updateGkHdGather(data) {
  return request({
    url: '/billsdecl/GkHdGather/edit',
    method: 'post',
    data: data
  })
}

// 删除过卡记录
export function delGkHdGather(id) {
  return request({
    url: '/billsdecl/GkHdGather/remove/' + id,
    method: 'get'
  })
}

// 导出过卡记录
export function exportGkHdGather(query) {
  return request({
    url: '/billsdecl/GkHdGather/export',
    method: 'get',
    params: query
  })
}
